<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/IncludeTop.jsp" %>
<html>
	<head>
	<base href="<%=basePath%>">
	<script type="text/javascript" src="js/register.js"></script>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>注册</title>
	</head>
	<body>
		<form action="common/addUser.do" method="post" onsubmit="return isRegisterUserName();">
	      <table border="0" width="100%">
	      	<tr height="50">
	      		<th colspan="2"><font size="6">用&nbsp;户&nbsp;注&nbsp;册</font></th>
	      	</tr>
	      	<tr>
	      		<td><br/><br/></td>
	      	</tr>
	      	
	      	<c:if test="${!empty requestScope.error}">
	      	<tr>
	      		<td colspan="2" align="center">
	      			<font color="red"><c:out value="${requestScope.error}" /></font>
	      		</td>
	      	</tr>
	      	</c:if>
	      	
	        <tr>
	          <td width="45%"  align="right">用&nbsp;户&nbsp;名:</td>
	          <td width="55%">
	          	<input type="text" name="username" />
	          </td>
	        </tr>
	        <tr>
	          <td align="right">密&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
	          <td>
	          	<input type="password" name="password" />
	          </td>
	        </tr>
	        <tr>
	          <td align="right">密码确认:</td>
	          <td>
	          	<input type="password" name="password_2" />
	          </td>
	        </tr>
	        <tr>
	        	<td align="right">&nbsp;</td>
	            <td>
	              <br/>
	          	  <input type="submit" name="submit" value="注册" />
	          	  <input type="reset" name="reset" />
	            </td>
	        </tr>
	      </table>
		</form>
	</body>
</html>